function myAlert() {

	$("body").append("<div id='yin'></div><div id='xian'>操作成功！<br/><button id='btnyin'>关闭</button></div>");

	$("head").append("<style type='text/css'>#yin {width: 100%;height: 100%;display: none;filter: alpha(Opacity=80);-moz-opacity: 0.5;opacity: 0.5;position: absolute;background-color: black;left: 0px;top: 0px;}#xian {color:#FFFFFF;border:10px solid #BBFFFF; width: 300px;height: 180px;background-color: #87CEFA;line-height: 90px;text-align: center;display: none;position: absolute;left: 300px;top: 250px;}</style>");

	var flag = false;
	var ox = 0;
	var oy = 0;

	$(function() {
		$("#btnyin").mouseover(function() {
			/*$("#yin").css("display", "none");
			$("#xian").css("display", "none");*/
			$("#xian").css({
					"left": (Math.random()*500) + "px",
					"top": (Math.random()*400) + "px"
			});
		});
	});
	$(function() {
		$("#xian").mousedown(function(e) {
			flag = true;
			ox = e.offsetX;
			oy = e.offsetY;
		});
	});

	$(function() {
		$(document).mouseup(function() {
			flag = false;
		});
	});

	$(function() {
		$("#xian").mousemove(function(e) {
			if(flag) {
				$("#xian").css({
					"left": (e.pageX - ox) + "px",
					"top": (e.pageY - oy) + "px"
				});
			}
		});
	})

	$("#yin").css("display", "inline");
	$("#xian").css({
		"display": "inline",
		"left": (document.documentElement.clientWidth - 300) / 2 + "px",
		"top": (document.documentElement.clientHeight - 180) / 2 + "px"
	});

}